package com.framework.admin.mapper;

import com.framework.admin.domain.param.ModuleFormFieldParam;
import com.framework.admin.domain.vo.ModuleFormFieldVo;
import com.framework.admin.model.ModuleFormField;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

import java.util.List;


/**
 * @description: 模块表单字段 Mapper
 * @author: lizurong
 * @version: 1.0
 * @date: 2021-03-08 13:21:06
 */

@Mapper
public interface ModuleFormFieldMapper {
    Page<ModuleFormField> listPage(@Param("param") ModuleFormFieldParam param, PageRequest pageRequest);

    List<ModuleFormFieldVo> genFormData(@Param("tableName") String tableName);

    void delteByModuleFormId(@Param("moduleFormId") String moduleFormId);
}
